package com.east.utils;

import java.util.List;

public class Result {
	
	 //    error_code 状态值：0 极为成功，其他数值代表失败
	   private boolean success;
	   
	   private Integer code;
	   //error_msg 错误信息，若status为0时，为success
	   private String message;
	   private String error;
	   //    content 返回体报文的出参，使用泛型兼容不同的类型
	   private Object data;
	   

	

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}
	

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	   

}
